x86: Fix pirq teardown on domain destruction.
authorWei Gang <gang.wei@intel.com>
Wed, 26 Jan 2011 08:54:12 +0000 (08:54 +0000)
committerWei Gang <gang.wei@intel.com>
Wed, 26 Jan 2011 08:54:12 +0000 (08:54 +0000)
commit56bcfc196f19d9667c5ae8f6dc40d7e32a59a00e
treee11a62ef3f386919a4ceb719fd2d74e071029184
parent16b2a6cf7fb0585fcfd51b0f4febac3be91a91a1
x86: Fix pirq teardown on domain destruction.

The privilege check in unmap_domain_pirq() fails since the teardown
completes in RCU (idle domain) context. We can remove the check since
it is covered in physdev_op() already, which is the only potentially
unprivileged caller.

Signed-off-by: Wei Gang <gang.wei@intel.com>
xen/arch/x86/irq.c